package cn.zwx.member.svc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

/**
 * 签到奖励表
 * @author zhangwenxue
 * @TableName t_sign_reward
 */
@Data
@TableName("t_sign_reward")
public class SignRewardEntity implements Serializable {
    /**
     * 主键id
     */
    @Id
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 签到天数
     */
    private Integer signDay;

    /**
     * 奖励种类 1-积分 2-现金红包
     */
    private Integer category;

    /**
     * 数量
     */
    private Integer number;

    /**
     * 备注
     */
    private String mark;

    /**
     * 奖励方式 1-单次 2-循环
     */
    private Integer isSet;

    private static final long serialVersionUID = 1L;

}